﻿Public Class incio_sistemavb

  
    Private Sub ABMClientesToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ABMClientesToolStripMenuItem.Click

        clientes.ShowDialog()
    End Sub

    Private Sub ABMEmpleadosToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ABMEmpleadosToolStripMenuItem.Click
        empleados.ShowDialog()

    End Sub

    Private Sub ABMProveedoresToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ABMProveedoresToolStripMenuItem.Click
        proveedores.ShowDialog()

    End Sub

    Private Sub ABMRepuestosToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ABMRepuestosToolStripMenuItem.Click
        repuestos.ShowDialog()

    End Sub

    Private Sub incio_sistema_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing

        If MessageBox.Show("¨Esta seguro q desea cerrar el programa?", "Atención", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then

            End

        Else

            e.Cancel = True

        End If

    End Sub

    Private Sub incio_sistemavb_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    
    Private Sub VentasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles VentasToolStripMenuItem.Click
        factura.ShowDialog()

    End Sub

    Private Sub SalirToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SalirToolStripMenuItem.Click
        Me.Close()
    End Sub

    Private Sub ComprasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComprasToolStripMenuItem.Click
        facturaProveedores.ShowDialog()

    End Sub
End Class